package ElectricProject;

public class Client {
    public static void main(String[] args){
        ElectricFactory factory;
        Television tel;
        AirConditioner ac;
        factory = (ElectricFactory) XMLUtil.getBean();
        assert factory != null;
        tel = factory.createTelevision();
        ac = factory.createAirConditioner();
        tel.display();
        ac.display();
    }
}
